package com.rms.server.Dao;

import com.rms.server.Domain.OrderDetails;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderDetailsMapper {
    @Insert("INSERT INTO `order_details` (order_id, dish_id, quantity, dish_price, profit) VALUES (#{orderId}, #{dishId}, #{quantity}, #{dishPrice}, #{profit})")
    void insertOrderDetails(OrderDetails orderDetails);

}
